package cn.rokhdelar.ams.management.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Rokhdelar
 * @since 2024/10/15 -- 11:52
 **/
@Data
@Schema(description = "角色视图实体模型")
public class RoleVO {
    @Schema(description = "主键，角色ID")
    private String id;

    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "角色描述")
    private String description;

    @Schema(description = "状态，False-不可用，True-正常")
    private Boolean status = Boolean.TRUE;

    @Schema(description = "角色标识符")
    private String roleKey;

    @Schema(description = "authorityList")
    private List<AuthorityVO> authorityList;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "备注")
    private String remark;
}
